#!/usr/bin/env node

const { Transform } = require('stream'),
      stdin = process.stdin,
      stdout = process.stdout;

stdin.setEncoding('utf8');

let tf = new Transform();

tf._transform = function(chunk, encoding, callback) {
    this.push(Buffer.from(chunk.toString('utf8').toUpperCase()));
      callback();

};
stdin.pipe(tf).pipe(stdout);
